﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class ProductDescriptionTemplateInfoConfig : EntityTypeConfiguration<ProductDescriptionTemplateInfo>
    {
        public ProductDescriptionTemplateInfoConfig()
        {
            ToTable("Himall_ProductDescriptionTemplates");
            Property(item => item.Name).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.MobileContent).HasColumnType("text");
            Property(item => item.Content).HasColumnType("text");
          
        }
    }
}
